drm/display/dp_mst: Correct the kref of port.
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 28 Dec 2022 06:50:43 +0000 (14:50 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 29 Jan 2023 12:33:36 +0000 (12:33 +0000)
commitcd5f665c4edfe78023043a3913a8bfcbc2c34e69
tree1dfd042c41d096c5977038dd5aae2371684b9941
parent77902ee009325bc4cbb15e54070ab48797045188
drm/display/dp_mst: Correct the kref of port.

Origin: https://git.kernel.org/linus/d8bf2df715bb8ac964f91fe8bf67c37c5d916463
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2171
Bug-Debian: https://bugs.debian.org/1028451

[why & how]
We still need to refer to port while removing payload at commit_tail.
we should keep the kref till then to release.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2171
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Fixes: 4d07b0bc4034 ("drm/display/dp_mst: Move all payload info into the atomic state")
Cc: stable@vger.kernel.org # 6.1
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Tested-by: Didier Raboud <odyx@debian.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name drm-display-dp_mst-Correct-the-kref-of-port.patch
drivers/gpu/drm/display/drm_dp_mst_topology.c